package com.hl.toolkit.server.tycoin.user.slaveentity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.tycoin.common.entity.AbstractEntity;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="tycoin_user_address")
@DynamicUpdate
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" })
public class TycoinAddress extends AbstractEntity implements java.io.Serializable{
//  private Long id;
  private Long userid;
  private String name;
  private String mobile;
  private String postcode;
  private String address;
  private Long priority;


  public Long getUserid() {
    return userid;
  }

  public void setUserid(Long userid) {
    this.userid = userid;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }

  public String getPostcode() {
    return postcode;
  }

  public void setPostcode(String postcode) {
    this.postcode = postcode;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public Long getPriority() {
    return priority;
  }

  public void setPriority(Long priority) {
    this.priority = priority;
  }
}
